import unittest


class MyTestCase(unittest.TestCase):
    @classmethod                           # 大夹具是类方法，加类方法装饰器
    def setUpClass(cls) -> None:           # 大夹具
        print('setUpClass')

    def tearDownClass(cls) -> None:
        print('tearDownClass')

    def setUp(self) -> None:               # 小夹具
        print('setUp')

    def tearDown(self) -> None:
        print('tearDown')
    def demo1(self):
        print('demo1')

    def demo2(self):
        print('demo2')

    def demo3(self):
        print('demo3')


if __name__ == '__main__':
    unittest.main(verbosity=2)